package com.xjve.framework.hibernate.query.model;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * SQL查询配置属性
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "sql.query")
public class SqlQueryProperties {

    /**
     * SQL文件位置，默认为classpath:sqls/
     */
    private String location = "classpath:sqls/";

    /**
     * 批量处理大小，默认为100
     */
    private int batchSize = 100;

    /**
     * 是否启用参数安全检查，默认为true
     */
    private boolean parameterCheckEnabled = true;



}
